package ModelLayer;


/**
 * Write a description of class Person here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Person
{
    private long id;
    private String firstName;
    private String lastName;
    private String bankAccount;
    private String email;
    private String phone;
    private String address;
    private String city;
    
    /**
     * Constructor for objects of class Person.
     */
    public Person(long id, String firstName, String lastName, String bankAccount, String email, String phone, String address, String city)
    {
        this.id = id;
        this.firstName = firstName;
        this.lastName = lastName;
        this.bankAccount = bankAccount;
        this.email = email;
        this.phone = phone;
        this.address = address;
        this.city = city;
    }
    
    public Person()
    {
        
    }

    public void setId(long inId)
    {
        id = inId;
    }

    public void setFirstName(String inFirstName)
    {
        firstName = inFirstName;
    }

    public void setLastName(String inLastName)
    {
        lastName = inLastName;
    }

    public void setBankAccount(String inBankAccount)
    {
        bankAccount = inBankAccount;
    }

    public void setEmail(String inEmail)
    {
        email = inEmail;
    }

    public void setPhone(String inPhone)
    {
        phone = inPhone;
    }

    public void setAddress(String inAddress)
    {
        address = inAddress;
    }

    public void setCity(String inCity)
    {
        city = inCity;
    }

    public long getId()
    {
        return id;
    }

    public String getFirstName()
    {
        return firstName;
    }

    public String getLastName()
    {
        return lastName;
    }

    public String getBankAccount()
    {
        return bankAccount;
    }

    public String getEmail()
    {
        return email;
    }

    public String getPhone()
    {
        return phone;
    }

    public String getAddress()
    {
        return address;
    }

    public String getCity()
    {
        return city;
    }
    
    /**
     * This will print out the person information
     */
    public void printOut()
    {
        System.out.println("ID:\t\t\t\t" + id);
        System.out.println("Name:\t\t\t\t" + firstName + " " + lastName);
        System.out.println("Bank Account:\t\t\t" + bankAccount);
        System.out.println("Email:\t\t\t\t" + email);
        System.out.println("Telephone number:\t\t" + phone);
        System.out.println("Address:\t\t\t" + address);
        System.out.println("City:\t\t\t\t" + city);
    }
}
